﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="StudentRegistration.Register" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Student Registration</title>
</head>
<body>
    <form id="mainForm" runat="server">
    <div>
    
        First Name:
        <asp:TextBox ID="txtFirstName" runat="server"></asp:TextBox>
        <br />
        Last Name:
        <asp:TextBox ID="txtLastName" runat="server"></asp:TextBox>
        <br />
        Faculty Number:
        <asp:TextBox ID="txtFacultyNumber" runat="server" Width="49px"></asp:TextBox>
        <br />
        University:
        <asp:DropDownList ID="lstUniversities" runat="server">
            <asp:ListItem>Sofia University</asp:ListItem>
            <asp:ListItem>Pernik University</asp:ListItem>
            <asp:ListItem>Harvard</asp:ListItem>
            <asp:ListItem>Cambridge</asp:ListItem>
        </asp:DropDownList>
        <br />
        Specialty:
        <asp:DropDownList ID="lstSpecialty" runat="server">
            <asp:ListItem>Medecine</asp:ListItem>
            <asp:ListItem>Computer Science</asp:ListItem>
            <asp:ListItem>Law</asp:ListItem>
        </asp:DropDownList>
        <br />
        Courses:
        <asp:CheckBoxList ID="lstCourses" runat="server">
            <asp:ListItem>Programming</asp:ListItem>
            <asp:ListItem>Chemistry</asp:ListItem>
            <asp:ListItem>Biology</asp:ListItem>
            <asp:ListItem>Law</asp:ListItem>
        </asp:CheckBoxList>
        <br />
        <br />
        <asp:Button ID="btnRegister" runat="server" Text="Register" 
            onclick="btnRegister_Click" /><br /><br />
    
    </div>
    <asp:Literal ID="lblMessage" runat="server"></asp:Literal>
    </form>
</body>
</html>
